package com.wxy.student.service;


import com.wxy.student.entity.Student;
import com.wxy.student.entity.StudentInfo;
import org.springframework.data.domain.Page;

import java.util.List;


public interface StudentService {

    Student save(Student student);
    Student update(Student student);
    void delete(Integer id);

    List<Student> findAll();

    List<Student> findByGradeId(Integer gradeId);

    void deleteByGradeId(Integer id);

    List<StudentInfo> list( );
}
